<div class="container">
  <?php echo $this->form; ?>
  <?php if($this->errorMessage != ""): ?>  
    <div class="alert">
    <button type="button" class="close" data-dismiss="alert">&times;</button>
    <?= $this->errorMessage; ?>
    </div>
<?php endif; ?>  
</div> 